package com.xk.demo.menu.repository;

import com.xk.demo.mybatis.entity.PtMenuI18nEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface MenuDao {
    List<PtMenuI18nEntity> getI18nByMenuId(@Param("menuId")String menuId);

    void saveI18nData(@Param("entity")PtMenuI18nEntity entity);

    void addI18nData(@Param("entity")PtMenuI18nEntity entity);

    void deleteI18nData(@Param("entity") PtMenuI18nEntity entity);

}
